StreamSQL

StreamSQL allows to implement a low code (SQL) approach to define and operate with ad-hoc data flows, such as read from KafkaClosed and write directly to SpaceClosed or read from one Kafka topic and write to another Kafka topic.

Behind the scenes StreamSQL utilizes a powerful low code FlinkClosed capabilities to define a schema via Flink SQL CREATE TABLE API.

StreamSQL operation activities can be defined using standard SQL statements, such as:

  • Define structure of messages in a Kafka topic as a table (CREATE TABLE)

  • Define a data flow (stream of data or pipeline) as INSERT AS SELECT statement

  • Perform a join of data flow from different Kafka topics using a standard SQL join statement

 

One of the useful StreamSQL use cases can be IoT when continuous flow of sensors data changes is consumed from Kafka, aggregated into a summary table and pushed the aggregated summary to space for data services consumption.

 

For an overview of the StreamSQL menu in SpaceDeckClosed, refer to SpaceDeck StreamSQL Overview page.

For examples of statements used for Kafka to Space with Aggregation and Kafka to Kafka with Aggregation, refer to the StreamSQL Implementation page.